Framework EDI Reference. Methods and Properties
ediSecurity. SetCertSignerNameByLocation

Sets the certificate, at the specified location, of this object.  The certificate specified will be used for private key operation.

Syntax:

Parameters:

Returns:

Returns 1 if the operation is successful; otherwise the operation returns zero.

Remarks:

The certificate specified is used for private key operation (decrypting and signing), and therefore it must be associated to a private key.  The private key is normally stored in a key container database of the default Cryptographic Service Provider (CSP), or that specified by the sServiceProvider and lProviderType parameter.  The same CSP will also be used for security operations.